<?php

define('SITE_NAME', 'Umeå Fritidsplatser');

require_once('classes/Facilities.php');

$facilities = new Facilities('facilities/markers.tsv');
$current = $facilities->get_id($_REQUEST['id']);
$btype = array();

if ($current) {
	$btype[] = $current->Buildingtype;
}
if (isset($_REQUEST['btype']) && is_array($_REQUEST['btype'])) {
	$btype = array_merge($btype, $_REQUEST['btype']);
}
$btype = array_unique($btype);

require_once('inc/html.php');
